package com.astar.mapper;

import com.astar.pojo.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author weishen
 * @since 2021-06-21
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {
    List<Menu> findMenusByAdminId(@Param("aid")Integer id);
}
